﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Interfaces
{
    /// <summary>
    /// Interface for both applications and position originators
    /// </summary>
    public interface ICommonInterface
    {
        bool InitSettingsGroup(string app_id);
        bool DeleteSettingsGroup(string app_id);
        bool SettingsGroupAvailable(string app_id);
        bool SetSetting(string app_id, string setting_name, object data);
        object GetSetting(string app_id, string setting_name);
        bool DeleteSetting(string app_id, string setting_name);

        void WriteDebugLog(string s);
        string WorkingDirectory { get; }
    }
}
